package com.isias.system.service;

import com.isias.model.system.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.isias.model.vo.AssginMenuVo;
import com.isias.model.vo.RouterVo;

import java.util.List;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author fanyi
 * @since 2023-02-21
 */
public interface SysMenuService extends IService<SysMenu> {

    List<SysMenu> findNodes();

    boolean removeMenuById(String id);

    List<SysMenu> findSysMenuByRoleId(String roleId);

    boolean doAssign(AssginMenuVo assginMenuVo);

    List<RouterVo> getUserMenuList(String id);

    List<String> getUserButtonList(String id);

    boolean updataStatus(String id, Integer status);
}
